home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990725-20000114 / 000181_news@columbia.edu _Sun Oct 10 23:55:09 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  5KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA17698
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sun, 10 Oct 1999 23:55:09 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id XAA11732
  7.     for kermit.misc@watsun.cc.columbia.edu; Sun, 10 Oct 1999 23:53:43 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. Message-ID: <3801600F.65ED7F54@mediaone.net>
  10. From: Art Wildman <wildman@mediaone.net>
  11. Subject: Re: set line: Sorry can't open connection
  12. Date: Sun, 10 Oct 1999 23:57:03 -0400
  13. To: kermit.misc@columbia.edu
  14.  
  15. Thanks for the quick response, I just found this group while looking for more
  16. info on kermit & thought I'd ask.
  17. Frank da Cruz wrote:
  18. > What version of C-Kermit do you have?
  19. Ver 6x comes with HPUX 10.20 I think, Not sure I'm doing this from memory...
  20. > : C-Kermit> c
  21. > : set line /dev/tty2a3
  22. > : set speed 9600
  23. > Those last two should be:
  24. Right -again I'm doing this from memory
  25. >   set parity space
  26. >   set duplex half
  27. > : Can send string from pc com1 to hp tty2a3 OK.
  28. > : "The quick brown fox..."
  29. > :
  30. > How do you know it's OK?  C-Kermit is in CONNECT mode and you see it on
  31. > the HP's screen?
  32. Yes
  33. > How is the PC connected to the HP?  A null modem cable?  
  34. Yes
  35. > A *true* null modem cable, or the fakeout kind?  
  36. fakeout loopback on pc side rts-cts & dsr-dtr, but just using 3 wires to tty2a3
  37. - 2, 3 & 7.
  38. > Did you build it yourself?  How do you know it's wired appropriately?
  39. Yes, and I was able to test 2way comms by enabling device using HP's SAM, then
  40. respawning getty on same port set to 9600 hard-wired in inittab, init q  -now
  41. able to hit rtn twice on pc procomm terminal and get login message. I was able
  42. to login, verifying 2-way comms. I found a partial procedure to test a port
  43. using kermit, and wanted to learn more about kermit.
  44.  
  45. > : am unable to send same string from hp tty2a3 to pc using
  46. > : procomm-vt100-kermit and have it display in procomm terminal/chat window.
  47. > :
  48. > Obviously that's a question for the Procomm people.
  49. Why? -No, its just a terminal (in emulation mode) and I think its set up
  50. correctly or I wouldn't have been able to login using it. A laptop is easier to
  51. carry around than a vt100 terminal.
  52. Do I have to tell kermit to transmitt vs. receive? I should be able to open a
  53. connection, and type/transmitt "The quick brown fox..." from hp to pc-terminal.
  54. > : while playing around with port settings (duplex=full) I managed to lock up
  55. > : kermit.
  56. > What makes you conclude it is locked up?  Are you saying it was in CONNECT
  57. > mode, and then you could no longer escape back? 
  58. Yes it was in connect mode, I tried ctrl-\ c repeatedly, also ctrl-c and every
  59. other key sequence I could think of... no response.
  60. > Or that it was in command
  61. > mode and would no longer respond to commands?  Please be specific about what
  62. > state it was in and what you tried to do and what the response was.
  63. >  killed processes, and abe to recover but now when I try to
  64. > : set line /dev/tty2a3
  65. > : error: Sorry can't open connection on /dev/tty2a3
  66. > :
  67. > : Is there a lock file or something somewhere keeping the port open and
  68. > : unavailable?
  69. > :
  70. > If you have C-Kermit 6.0 or later, the problem would not be a lockfile.
  71. > C-Kermit detects and handles stale lockfiles, and anyway it prints an
  72. > informative message stating why the device could not be opened.
  73. All I get when I run kermit and try establish a new connection on this port is
  74. Sorry can't open connection on /dev/tty2a3
  75. > C-Kermit 6.0, while in CONNECT mode, runs in two forks (processes).  The
  76. > most likely explanation is that you killed one but not the other.
  77. I saw two processes liste when I did
  78. ps -ef | grep kermit
  79. it listed 2 PIDs
  80. Killing the first one didn't seem to have any effect so I killed the other, that
  81. exited kermit and restored my hpux prompt.
  82. I'll look for other running processes, but I don't think any more exist owned by
  83. kermit. Is there something else I could look for?
  84. > C-Kermit 7.0:   http://www.columbia.edu/kermit/ck70.html
  85. > runs in only one fork at all times (at least on HP-UX and most other modern
  86. > UNIX varieties), has better serial port handling, and better error messages.
  87. Thanks, I'll get 7.0, sounds like I may need it.
  88. > : How do I clear this? What do I need to do to get kermit to
  89. > : transmit to pc properly?
  90.  
  91. > The first question is: why not simply set up a getty on the HP-UX port and
  92. > then log in to it from the PC?  That's the normal way of connecting a PC
  93. > and a UNIX computer.
  94. Tried that it worked, but this port will be used for data ingest using custom
  95. software, and I beleive the kermit protocol. So, I will have to turn off getty
  96. an want some way of sending data manually to the port & verifying comms 2-ways.
  97. Thanks again for your help and patience.
  98. > - Frank
  99.  
  100. -- 
  101.    Art Wildman - wildman@mediaone.net